import java.awt.geom.Point2D;


public abstract class Labeled {
	protected String name = "";
	public String getName(){
		return name;
	}
	public void setNameUnsafe(String name){
		this.name = name;
	}
	public void setName(String name){
		this.name = generateName(name);
	}
	public void setName(){
		setName("");
	}
	public String generateName(String preferredName){
		return name;
	}
	public boolean isUsedName(String name){
		if (name.equals(this.name)){
			return true;
		}
		return false;
	}
	
	public Point2D getLabelPoint() {
		return new Point2D.Double();
	}
	
}
